Hilbert's Space Filling Curve / Fractal In Python